﻿using Basic.OAModel.DB;
using Basic.OARemoteModel;
using Basic.OARemoteModel.DataFillIn.Model;
using WeDonekRpc.Model;

namespace Basic.OADAL
{
    public interface IEmpDataFillInDAL : IBasicDAL<DBEmpDataFillIn, long>
    {
        long Add ( FillInAdd data );

        void SubmitAudit ( long id, int fillTotal );

        Result[] Query<Result> ( FillInQuery query, IBasicPage paging, out int count ) where Result : class;

        void Stop ( long id );

        void SetAuditResult ( long id, FillInStatus status );
    }
}